<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>元素类型相互转换</title>
    <style>
        div{
            width: 200px;
            height: 300px;
            border: 1px solid yellow;
        }
        span{
            background-color: aquamarine;
            margin: 20px;
            padding: 10px;
        /* span行内元素只能设置左右边距 不能设置上下边距 ---padding、margin不管用 */
        }
        img{
            /* width: 300px;
            height: 300px; */
            margin: 20px;
            padding: 20px;
        }
    </style>

</head>
<body>
    <div class="a1">111111111</div>
    <div class="b1">
        菜单隐藏栏
        <ul class="a1">
            <li>11111111</li>
            <li>22222222</li>
            <li>33333333</li>
        </ul>
    </div>
    <span>
        222222
    </span>
    <img src="image/元素显示类型.png" alt="">
</body>
</html>